package org.lisen.patterndemo.observer.v01;

public class Main {

    public static void main(String[] args) {

        Patient patient = new Patient();

        patient.addObserver(new Docter());
        patient.addObserver(new Nurse());
        patient.addObserver(new Wife());

        patient.ringBell();

    }
}
